package com.xjy.rpc.annotation;


import org.springframework.stereotype.Service;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @description: 标记该类需要注册到注册中心
 * @author XJY
 * @date 2024/10/17 9:15
 * @version 1.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Service //用于被springboot管理
public @interface ServerRegister {
}
